package com.example.mapper;
import com.example.pojo.VehiclePy;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import java.util.List;

/**
 * <p>
 * 车辆申请表 Mapper 接口
 * </p>
 *
 * @author wsl
 * @since 2022-05-06
 */
@Mapper
@Repository
public interface VehiclePyMapper extends BaseMapper<VehiclePy> {
    //获得申请记录的信息
    List<VehiclePy> queryAllVehiclePy(String empName);

    //修改车辆申请中的信息状态
    int updateStatus(VehiclePy vehiclePy);
}
